<template>
  <div class="condition-item">
    <span class="icon">●</span><span class="title">{{title}}</span>
    <div class="condition-content" :style="contentStyle">
      <slot/>
    </div>
  </div>
</template>

<script>
export default {
  name: "device_condition",
  props: {
    title: {
      type: String,
      default: ''
    },
    contentStyle: {
      type: Object,
      default: () => ({})
    }
  }
}
</script>

<style scoped>

</style>
